package cn.zebra.dev.member.module.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author runnable@sina.cn
 */
@Getter
@Setter
@ToString
public class ForgetPasswordVO {

    @ApiModelProperty("手机号")
    @NotBlank(message = "请输入手机号码")
    @Length(max = 32)
    private String phone;

    @ApiModelProperty("手机验证码")
    @NotBlank(message = "请输入手机验证码")
    private String code;

    @ApiModelProperty("新密码")
    @NotBlank(message = "新密码不能为空!")
    private String password;
}
